package com.epam.qanda.comparator;

import java.util.Comparator;

import com.epam.qanda.db.model.User;

public class LoginComparator implements Comparator<User>{
	@Override
	public int compare(User u1, User u2) {
		return u1.getLogin().compareTo(u2.getLogin());
	}
}
